xi2: Reset scroll valuators on synthesized crossing events
authorCarlos Garnacho <carlosg@gnome.org>
Thu, 28 Mar 2013 13:57:00 +0000 (14:57 +0100)
committerCarlos Garnacho <carlosg@gnome.org>
Wed, 10 Apr 2013 18:18:09 +0000 (20:18 +0200)
commitcc7b3985b3e313a02e9eb06facb0cec4e471df60
tree4c6409c1a7c7f09aad41aded76f4a1f3f4bcb48e
parentc402e892998f5c7c30b16248399380f999846c86
xi2: Reset scroll valuators on synthesized crossing events

On crossing events resulting from moving windows (eg. workspace switch),
deviceid equals sourceid, so make those reset scroll valuators on all
slave devices to avoid misleading jumps in scroll events

Fixes https://bugzilla.gnome.org/show_bug.cgi?id=690275
gdk/x11/gdkdevicemanager-xi2.c